package com.booza.model;

import java.util.HashSet;
import java.util.Set;

/**
 * Value object to store and retrieve information from game type table.
 */
public class GameType implements java.io.Serializable
{
	private Integer gametypeid;
	private String name;
	private Set statses = new HashSet(0);
	private Set tournaments = new HashSet(0);
	private String token;

	public String getToken()
	{
		return token;
	}

	public void setToken(String token)
	{
		this.token = token;
	}

	public GameType() {
	}

	public GameType(String name) {
		this.name = name;
	}

	public GameType(String name, Set statses, Set tournaments) {
		this.name = name;
		this.statses = statses;
		this.tournaments = tournaments;
	}

	public Integer getGametypeid()
	{
		return this.gametypeid;
	}

	public void setGametypeid(Integer gametypeid)
	{
		this.gametypeid = gametypeid;
	}

	public String getName()
	{
		return this.name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public Set getStatses()
	{
		return this.statses;
	}

	public void setStatses(Set statses)
	{
		this.statses = statses;
	}

	public Set getTournaments()
	{
		return this.tournaments;
	}

	public void setTournaments(Set tournaments)
	{
		this.tournaments = tournaments;
	}
}
